arm: socfpga: Move cache_enable to CPU code
authorMarek Vasut <[email protected]>
Sun, 21 Sep 2014 11:57:40 +0000 (13:57 +0200)
committerMarek Vasut <[email protected]>
Mon, 6 Oct 2014 15:46:51 +0000 (17:46 +0200)
commit4ab333b765db5cd00b297b4c0e3cd3af5fe320fc
tree937b9b1834de9603527c73523af8e76c9d24c2a3
parent97ce274d97e9c1796d58ae34aadcbc10293cccd7
arm: socfpga: Move cache_enable to CPU code

Move icache_enable() and dcache_enable() function calls from
board code into the CPU code and into the enable_caches()
function. This is how the cache enabling code was designed
to work.

Signed-off-by: Marek Vasut <[email protected]>
Cc: Dinh Nguyen <[email protected]>
Cc: Pavel Machek <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Albert Aribaud <[email protected]>
Cc: Wolfgang Denk <[email protected]>
Acked-by: Pavel Machek <[email protected]>
arch/arm/cpu/armv7/socfpga/misc.c
board/altera/socfpga/socfpga_cyclone5.c